🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / data / src / commonMain / kotlin / org / meshtastic / core / data / manager / DataPacketPersistence.kt
Displaying Raw • Download
core/data/src/commonMain/kotlin/org/meshtastic/core/data/manager/DataPacketPersistence.kt fix/qr-error-correction (7b45f84f) Text, 1.31 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.data.manager
Tff7b72import T7ee787org.meshtastic.proto.Data
Tff7b72import T7ee787org.meshtastic.proto.PortNum
T8b949e/** Port numbers whose ordinary data packets are persisted by [MeshDataHandlerImpl.rememberDataPacket]. */
Tff7b72internal Tff7b72val Te6edf3PERSISTED_DATA_PORT_NUMBERS Tff7b72=
Te6edf3setOfTb4b4b4(
Te6edf3PortNumTb4b4b4.Te6edf3TEXT_MESSAGE_APPTb4b4b4.Te6edf3valueTb4b4b4,
Te6edf3PortNumTb4b4b4.Te6edf3ALERT_APPTb4b4b4.Te6edf3valueTb4b4b4,
Te6edf3PortNumTb4b4b4.Te6edf3WAYPOINT_APPTb4b4b4.Te6edf3valueTb4b4b4,
Te6edf3PortNumTb4b4b4.Te6edf3NODE_STATUS_APPTb4b4b4.Te6edf3valueTb4b4b4,
Tb4b4b4)
T8b949e/** A text-app payload that acknowledges another packet with an emoji reaction. */
Tff7b72internal Tff7b72fun Te6edf3DataTb4b4b4.Td2a8ffisReactionTb4b4b4(Tb4b4b4)Tb4b4b4: Tffa657Boolean Tff7b72= Te6edf3portnum Tff7b72=Tff7b72= Te6edf3PortNumTb4b4b4.Te6edf3TEXT_MESSAGE_APP Tff7b72&Tff7b72& Te6edf3reply_id Tff7b72!Tff7b72= T79c0ff0 Tff7b72&Tff7b72& Te6edf3emoji Tff7b72!Tff7b72= T79c0ff0
Served by rngit 1.5.0 - Generated in 0.07s